using AutoMapper;
using Blog.Repository.Permission;
using Blog.Service.Permission.Output;

namespace Blog.Service.Permission;


/// <summary>
/// 映射配置
/// </summary>
public class PermissionMapperConfig : Profile
{
    public PermissionMapperConfig()
    {
        CreateMap<PermissionModel, PermissionEntity>();
        CreateMap<PermissionEntity, PermissionModel>();

        CreateMap<PermissionEntity, PermissionListOutput>();
    }
}